package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-10-23 16:53:33
 * 产品图片
 * </pre>
 * <small> 2018-10-23 16:53:33 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_product_img")
@EqualsAndHashCode(callSuper=true) 
public class ProductImgDO  extends Model< ProductImgDO> implements Serializable {
	@TableId
	private Long id;

    /** 产品图片url */
    @ApiModelProperty("产品图片url")
    @TableField("image_url")
    private String imageUrl;

    /** 排序 */
    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @TableField("product_id")
    private Integer productId;

    /** 产品大图 */
    @ApiModelProperty("产品大图")
    @TableField("big_image_url")
    private String bigImageUrl;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
